package com.bird.extension.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author: sijunqiang
 * @Date: 2020/4/6 15:17
 * @Description: declare an annotation about course information
 */
@Target({ElementType.TYPE, ElementType.METHOD})//  the annotation can be used class and member method
@Retention(RetentionPolicy.RUNTIME) // the scope of this annotation is running
public @interface CourseInfoAnnotation {


    /**
     * course name property
     */
    public String courseName();

    /**
     * course tag property
     */
    public String courseTag();

    /**
     * course  profile property
     */
    public String courseProfile();

    /**
     * course index property
     */
    public int courseIndex() default 1008611;


}
